home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Netware Super Library
/
Netware Super Library.iso
/
pgm_tool
/
lu62
/
include
/
state1.h
< prev
next >
Wrap
Text File
|
1995-07-03
|
12KB
|
311 lines
#define Attach_lu 0x2100
#define Detach_lu 0x2200
#define ASCII 0
#define EBCDIC 1
#define Allocate 1
#define Confirm 3
#define COnfirmed 4
#define Deallocate 5
#define Flush 6
#define Get_attributes 7
#define Post_on_receipt 9
#define Prepare_to_receive 10
#define Receive_and_wait 11
#define Receive_immediate 12
#define Request_to_send 14
#define Send_data 15
#define Send_error 16
#define Test 18
#define mc_confirm 15
#define mc_Confirmed 16
#define mc_deallocate 17
#define mc_flush 18
#define mc_get_attributes 19
#define mc_post_on_receive 20
#define mc_receive_immediate 21
#define mc_request_to_send 22
#define mc_send_data 23
#define mc_send_error 24
#define mc_test 25
#define TP_STARTED 0x2400
#define TP_ENDED 0x2500
#define CONVERT 0x1a00
#define initialize_session_limit 26
#define chanqe_session_limit 27
#define set_lucb 28
#define set_partner_lu 29
#define Set_mode 30
#define set_mode_option 31
#define set_transaction_program 32
#define set_privileged_function 33
#define set_resource_supported 34
#define SET_SYNC_LEVEL_SUPPORTED 35
#define set_mc_function_supported 36
#define set_cplu_capability 37
#define get_lucb 38
#define get_partner_lu 39
#define Get_mode 40
#define get_mode_option 41
#define get_transaction_program 42
#define get_privileged_function 43
#define get_resource_supported 44
#define get_cplu_capability 45
#define list_partner_lu 46
#define list_mode_option 47
#define List_mode 48
#define list_lu_option 49
#define list_transaction_program 50
#define process_session_limit 51
#define activate_session 52
#define syncpt 53
#define backout 54
#define get_type 55
#define Wait 56
/*
¥Γ¿ º¡áτÑ¡¿∩ ¿ß»«½∞ºπεΓß∩ »α¿ ó맮óÑ »áαá¼ÑΓα«ó
ó ßΓαπ¬Γπαáσ
*/
#define Service_component 57
#define TP 58
#define Basic_conversation 59
#define Mapped_conversation 60
#define mc_allocate 61
#define mc_prepare_to_receive 62
#define mc_receive_and_wait 63
#define rest_session_limit 64
#define list_sync_level_supported 65
#define list_privileged_function 66
#define list_resource_supported 67
#define list_mc_supported_lu 68
#define list_cplu_capability 69
#define list_mc_function_supported_tp 70
#define own 71
#define other 72
#define WHEN_SESSION_ALLOCATED 73
#define DELAYED_ALLOCATION_PERMITED 74
#define Immediate 75
#define NONE 0
#define same 77
#define pgm 78
#define No 0
#define YES 1
#define Sync_level 81
#define Local 82
#define lng 83
#define SHORT 84
#define posted 85
#define request_to_send_received 86
#define ll 87
#define buffer 88
#define BASED 89
#define MAPPED 90
#define abend_prog 91
#define abend_svc 92
#define abend_timer 93
#define prog 94
#define SVC 95
/* ¥Γ¿ º¡áτÑ¡¿∩ ¿ß»«½∞ºπεΓß∩ »α¿ ó맮óÑ
fsm_conversation
*/
#define ATTACH 96
#define PREP_TO_RCV_FLUSH 97
#define PREP_TO_RCV_CONFIRM_SH 197
#define PREP_TO_RCV_CONFIRM_LG 198
#define PREP_TO_RCV_DEFER 99
#define send_indicator 100
#define confirm_indicator 101
#define confirm_send_ind 102
#define confirm_dealloc_ind 103
#define program_error_rc 104
#define service_error_rc 105
#define Dealloc_normal_rc 106
#define Dealloc_abend_rc 107
#define Deallocate_flush 108
#define Deallocate_confirm 109
#define Deallocate_defer 110
#define Deallocate_abend 111
#define Deallocate_local 112
#define Deallocated_ind 113
#define RESOURCE_FAILURE_RC 114
#define ALLOCATION_ERROR_RC 115
/*
¿¼Ñ¡á ß«ßΓ«∩¡¿⌐ áóΓ«¼áΓá
fsm_conversation
*/
#define RESET 116
#define SEND 117
#define Rcv 118
#define rcvd_confirm 119
#define rcvd_confirm_send 120
#define rcvd_confirm_deall 121
#define deall_defer 122
#define pend_deall 123
#define END_CONV 124
/*
ç¡áτÑ¡¿∩ ¬«ñ«ó ó«ºóαáΓá ,»ÑαÑñáóáѼδσ ó
ó«ºóαáΘáѼδσ »áαá¼ÑΓαáσ
*/
#define OK 0
#define PORT_ABENDED 0xf003
#define PORT_BUSY 0xf002
#define PORT_DISABLED 0xf001
#define ALLOCATION_ERROR 0x0003
#define PARAMETER_ERROR 127
#define CONV_FAILURE_NO_RETRY 0x0010
#define CONV_FAILURE_RETRY 0x000f
#define backed_out 128
#define deallocate_normal 129
#define deallocate_abend_prog 130
#define deallocate_abend_svc 131
#define deallocate_abend_timer 132
#define prog_error_no_trunc 133
#define prog_error_trunc 134
#define prog_error_purging 135
#define RESOURCE_FAILURE_NO_RETRY 136
#define RESOURCE_FAILURE_RETRY 137
#define UNSUCCESSFUL 138
#define posting_not_activ 139
#define svc_error_no_trunc 140
#define svc_error_purging 141
#define svc_error_trunc 142
#define BAD_LU_ID 3
#define ALLOCATION_FAILURE_NO_RETRY 4
#define ALLOCATION_FAILURE_RETRY 5
#define SYNC_LEVEL_NOT_SUPPORTED 145
/* invalid_lu_mode = allocation_failure_no_retry */
#define INVALID_LU_NAME 4
/* invalid_mode_name = unknown_partner_mode */
#define INVALID_MODE_NAME 0x00000018
#define ok_data 148
#define ok_not_data 149
#define session_not_immediately_avaliab 150
#define DEALLOC_CONFIRM_BAD_STATE 0x00000053
/* ¥Γ¿ º¡áτÑ¡¿∩ ¿ß»«½∞ºπεΓß∩ ó áóΓ«¼áΓÑ
fsm_error_or_failure
*/
#define NO_RQS 151
#define RCVD_ERROR 152
#define CONV_FAILURE_PROTOCOL_ERROR 153
#define CONV_FAILURE_SON 154
#define ALLOCATE_FAILURE_RETRY 155
#define ALLOCATE_FAILURE_NO_RETRY 156
#define SYNC_LEVEL_NOT_SUPPORTED_BY_LU 157
#define ALLOCATE_ERROR 158
/*
* ê¼Ñ¡á ¬«¼»«¡Ñ¡Γ ñ½∩ «í¼Ñ¡á ß««íΘÑ¡¿∩¼¿
*/
#define PS 159
#define HS 160
#define RM 161
#define LNS 162
#define Receive_data 163
#define Receive_error 164
#define Rsp_to_request_to_send 165
/*
* fsm_error
*/
#define CONV_FAIL_PROTOCOL 166
#define CONV_FAIL_SON 167
#define ALLOC_FAIL_RETRY 168
#define ALLOC_FAIL_NO_RETRY 169
#define SYNC_LEVEL_NOT_SUPPTD 170
/*
¥Γ¿ º¡áτÑ¡¿∩ ¿ß»«½∞ºπεΓß∩ »α¿
«íαáí«Γ¬Ñ »α¼¿Γ¿ó«ó
*/
#define deactivate_session 172
#define list_mc_function_lu 173
/*
session_activation_polarity
*/
#define first_speaker 174
#define bidder 175
/*
rm_session_activated
*/
#define activation_failure_no_retry 176
#define activation_failure_retry 177
#define lu_mode_session_limit_exceeded 178
/*
rm_deactivation_session
*/
#define cleanup 179
#define NORMAL 180
/*
* ç¡áτÑ¡¿∩ ¬«ñ«ó ºá»¿ßÑ⌐, »ÑαÑñáóáѼδσ «Γ
* PS ¬ RM
*/
#define DEALLOCATE_RCB 181
#define TERMINATE_PS 182
#define ALLOCATE_RCB 183
#define NO_ATTACH 184
#define NOT_END_OF_DATA 185
#define UNSUC_NO_RETRY 186
#define UNSUC_RETRY 193
#define CHANGE_SESSION 187
#define RM_ACTIVATE_SESSION 189
#define RM_DEACTIVATE_SESSION 190
#define UNBIND_PROTOCOL_ERROR 191
#define GET_SESSION 192
#define PARAMETR_CHECK 0x0001
#define INCOMPLETE 0xf004
#define BAD_TP_ID 0x00000001
#define BAD_CONV_ID 0x00000002
#define STATE_CHECK 0x0002
#define DEALLOC_FLUSH_BAD_STATE 0x00000052
#define BAD_LL 195
#define NO_SUSPEND 196
/* Half session state */
#define IN_USE 0
#define FREE 1
/*
* Next follows values for parm TYPE for subroutine
* SENDHS
*/
#define Fmh 1
/*
* MAX_LEN used for buffer management func.
*/
#define MAX_LEN 255
/* FMHRCV - FMH-5 or FMH-7 received */
#define FMHRCV 0x00ff
/* SESSINI - session is ready */
#define SESSINI 0x01ff
/* CLSSESP - session was closed by primary LU */
#define CLSSESP 0x02ff
/* CLSSESS - session was closed by secondary LU */
#define CLSSESS 0x03ff
/* DR - Data is ready for receive */
#define DR 0x04ff
#define POSTOPEN 0x05ff
/* Local resource failure */
#define LRF 0x07ff
/*
* Values for WHAT_RECEIVED variable.
*/
#define DATA 0
#define Data_COMPLETE 1
#define Data_INCOMPLETE 2
#define ConfirM 3
#define Confirm_SEND 4
#define Confirm_DEALLOCATE 5
#define SenD 6
/* */
#define LU62 200
#define MAX_SEG 2048
#define MAX_RU 2017
/******* Trace codes ********/
#define INPROC 1
#define RETPROC 2
#define CALLPROC 3
#define GREC 4
/****************************/
#define DEBUG 0
#define PPATH "/portm/pipes/ap/"
/*
* OS_TYPE definitions: MS-DOS - 0; Unix V - 1
*/
#define OS_TYPE 0